<{assign var="tpl_page_title" value="商家列表"}>
<{include file="mobile/block/header.html"}>
<div class="choose_menu">
    <ul>
        <li>
            <div class="choose_menu_cont" id="choose_menu_cont1">
                <a href="#"><{if $pager.cat_id}><{$cate_list[$pager.area_id].title}><{else}>全部分类<{/if}><span class="app_ico"></span></a>
                <div class="sub_choose_menu" id='sub_choose_menu1'>
                    <ul>
                        <li><a href="<{link ctl='mobile/store' arg0=0 arg1=$pager.group_id arg2=$pager.order arg3=1}>">全部分类</a></li>
						<{foreach $cate_list as $v}>
						<li><a href="<{link ctl='mobile/store' arg0=$item.cat_id arg1=$pager.group_id arg2=$pager.order arg3=1}>"><{$item.title}></a></li>
						<{/foreach}>
                    </ul>
                </div>
            </div>
        </li>
        <li>
            <div class="choose_menu_cont" id="choose_menu_cont1">
                <a href="#"><{if $pager.group_id}><{$group_list[$pager.group_id]}><{else}>全部类型<{/if}><span class="app_ico"></span></a>
                <div class="sub_choose_menu" id='sub_choose_menu1'>
                    <ul>
                        <li><a  href="<{link ctl='mobile/store' arg0=$pager.cat_id arg1=0 arg2=$pager.order arg3=1}>">全部类型</a></li>
                         <{foreach $group_list  as $k=>$v}>
                        <li><a href="<{link ctl='mobile/store' arg0=$pager.cat_id arg1=$k arg2=$pager.order arg3=1}>"><{$v}></a></li>
                         <{/foreach}>
                    </ul>
                </div>
            </div>
        </li>       
        <li>
            <div class="choose_menu_cont">
                <a href="#"><{if $pager.order}><{$order_list[$pager.order]}><{else}>默认排序<{/if}><span class="app_ico"></span></a>
                <div class="sub_choose_menu">
                    <ul>
                        <{foreach $order_list as $k=>$v}>
                        <li><a  href="<{link ctl='mobile/store' arg0=$pager.cat_id arg1=$pager.group_id arg2=$k arg3=1}>"><{$v}></a></li>
                        <{/foreach}>
                    </ul>
                </div>
            </div>
        </li>
    </ul>
    <div class="cl"></div>
</div>
<div class="choose_menu">
	<ul>
		<li>
			<div class="choose_menu_cont">
				<a href="#">全部分类<span class="app_ico"></span></a>
				<div class="sub_choose_menu">
					<ul>
						<{foreach $cate_list as $v}>
						<li><a href="<{link ctl='mobile/store' arg0=$item.cat_id arg1=$pager.group_id arg2=$pager.order arg3=1}>"><{$item.title}></a></li>
						<{/foreach}>
					</ul>
				</div>
			</div>
		</li>
		<li class="search_li">
           <form action="<{link ctl='mobile/store'}>" method="post">
			<div class="shop_search choose_menu_cont">
				<input type="text" name="kw" class="text lt" placeholder="输入关键词搜索" />
                <input type="submit" class="rt app_ico btn" value=""/>
			</div>
            </form>
		</li>
	</ul>
	<div class="cl"></div>
</div>
<ul class="app_menu">
    <{foreach $items as $item}>
	<li>
		<a href="<{link ctl='mobile/shop' arg0=$item.shop_id}>">
		<img src="<{$pager.img}>/<{$item.logo}>" class="lt pic" />
		<h2><{$item.name}><span class="taobao_credit" style="margin-top:10px;"><span><{$shop.credit|shoprank}></span></h2>
		<p class="nowrap">指数：<{$item.credit}></p>
		<p class="nowrap">电话：<{$item.show_phone}></p>
		<div class="cl"></div>
		</a>
	</li>
    <{/foreach}>
</ul>
<div class="page"><{$pager.pagebar}></div>
<{include file="mobile/block/footer.html"}>
